// samsting : this file is auto create.

#include "Ons/2015-10-20/OnsMessageTraceResponse.h"

namespace aliyun { namespace Ons {

OnsMessageTraceResponse::OnsMessageTraceResponse() {
}

const string& OnsMessageTraceResponse::MessageTrack::GetConsumerGroup(void) const {
  return ConsumerGroup_;
}

const string& OnsMessageTraceResponse::MessageTrack::GetTrackType(void) const {
  return TrackType_;
}

const string& OnsMessageTraceResponse::MessageTrack::GetExceptionDesc(void) const {
  return ExceptionDesc_;
}

const std::vector<OnsMessageTraceResponse::MessageTrack>& OnsMessageTraceResponse::GetData(void) const {
  return Data_;
}

const string& OnsMessageTraceResponse::GetHelpUrl(void) const {
  return HelpUrl_;
}

const char* OnsMessageTraceResponse::BaseKey(void) {
  return "OnsMessageTraceResponse";
}

void OnsMessageTraceResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Data__length = 0;
  UnmarshallerInt(Data__length, response_map, "OnsMessageTraceResponse.Data.Length");
  if(Data__length >= 0) {
    Data_.resize(Data__length);
    for(int i1 = 0; i1 < Data__length; i1++) {
      UnmarshallerString(Data_[i1].ConsumerGroup_, response_map, "OnsMessageTraceResponse.Data["+string_ValueOfInt(i1)+"].ConsumerGroup");
      UnmarshallerString(Data_[i1].TrackType_, response_map, "OnsMessageTraceResponse.Data["+string_ValueOfInt(i1)+"].TrackType");
      UnmarshallerString(Data_[i1].ExceptionDesc_, response_map, "OnsMessageTraceResponse.Data["+string_ValueOfInt(i1)+"].ExceptionDesc");
    } // for(int i1 = 0; i1 < Data__length; i1++) {
  } // if(Data__length >= 0) {

  UnmarshallerString(HelpUrl_, response_map, "OnsMessageTraceResponse.HelpUrl");
}


} } // namespace aliyun { namespace Ons {

// end of file 
